package top.linuyx.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;

/**
 * @Author Linuyx
 * @Description commodity_image表
 * @Date Created in 2021-04-07 22:12
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("shipping_address")
public class ShippingAddressEntity extends BaseEntity implements Serializable {

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别,1 男，0 女
     */
    private Boolean sex;

    /**
     * 电话
     */
    private String phone;

    /**
     * 省份
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String district;

    /**
     * 门牌号
     */
    private String houseNumber;

    /**
     * 是否是默认地址, 1 是, 0 否
     */
    private Integer isDefault;

    /**
     * 标签id
     */
    private Long labelId;

    /**
     * 用户id
     */
    private Long userId;

}
